﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Bookings
    {
        private int _bookingID;

        public int BookingID
        {
            get { return _bookingID; }
            set { _bookingID = value; }
        }

        private int _tableID;

        public int TableID
        {
            get { return _tableID; }
            set { _tableID = value; }
        }

        private string _tableName;

        public string TableName
        {
            get { return _tableName; }
            set { _tableName = value; }
        }

        private int _staffID;

        public int StaffID
        {
            get { return _staffID; }
            set { _staffID = value; }
        }

        private string _staffName;

        public string StaffName
        {
            get { return _staffName; }
            set { _staffName = value; }
        }

        private string _bookingNumber;

        public string BookingNumber
        {
            get { return _bookingNumber; }
            set { _bookingNumber = value; }
        }

        private System.DateTime _bookingDate;

        public System.DateTime BookingDate
        {
            get { return _bookingDate; }
            set { _bookingDate = value; }
        }

        private int _totalAmount;

        public int TotalAmount
        {
            get { return _totalAmount; }
            set { _totalAmount = value; }
        }

        private bool _isDeleted;

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }

        /// <summary>
        /// Bookings
        /// </summary>
        /// <param name="bookingID"></param>
        public Bookings(int bookingID)
        {
            BookingID = bookingID;
        }

        /// <summary>
        /// Bookings
        /// </summary>
        /// <param name="bookingID"></param>
        /// <param name="tableID"></param>
        /// <param name="staffID"></param>
        /// <param name="bookingNumber"></param>
        /// <param name="bookingDate"></param>
        /// <param name="totalAmount"></param>
        /// <param name="isDeleted"></param>
        public Bookings(int bookingID, int tableID, int staffID, string bookingNumber, System.DateTime bookingDate, int totalAmount, bool isDeleted)
        {
            BookingID = bookingID;
            TableID = tableID;
            StaffID = staffID;
            BookingNumber = bookingNumber;
            BookingDate = bookingDate;
            TotalAmount = totalAmount;
            IsDeleted = isDeleted;
        }

        /// <summary>
        /// Bookings
        /// </summary>
        public Bookings()
        {
        }
    }
}
